@extends('admin.app')

@section('breadcrumb')
  <div class="bg-light lter b-b wrapper-md">
    <ol class="breadcrumb bg-light lter m-n no-padder">
      <li><a href="{{ admin_action('HomeController@index') }}">主页</a></li>
      <li><a href="{{admin_action('Web\ArticleCategoriesController@index')}}">文章分类</a></li>
      <li>文章分类信息</li>
      <li class="active">{{ $article_category->name }}</li>
    </ol>
  </div>
@endsection

@section('content')
  <div class="panel panel-default">
  <div class="panel-heading font-bold">
    文章分类信息
  </div>
  <div class="panel-body">
    <form class="form-horizontal">
      <div class="form-group">
        <label class="col-lg-2 control-label">名称：</label>
        <div class="col-lg-10">
          <p class="form-control-static">  {{$article_category->name}}</p>
        </div>
      </div>
      <div class="line line-dashed b-b line-lg"></div>
      <div class="form-group">
        <label class="col-lg-2 control-label">父级文章分类：</label>
        <div class="col-lg-10">
          @if(!empty($parent))
          <p class="form-control-static">{{$parent}}</p>
            @else
            <p class="form-control-static">{{'无'}}</p>
          @endif
        </div>
      </div>
      <div class="line line-dashed b-b line-lg"></div>
      <div class="form-group">
        <label class="col-lg-2 control-label">显示：</label>
        <div class="col-lg-10">
          <p class="form-control-static">{{$article_category->display?"是":'否'}}</p>
        </div>
      </div>
      <div class="line line-dashed b-b line-lg"></div>
      <div class="form-group">
        <label class="col-lg-2 control-label">推荐：</label>
        <div class="col-lg-10">
          <p class="form-control-static">{{$article_category->recommended?'是':'否'}}</p>
        </div>
      </div>
      <div class="line line-dashed b-b line-lg"></div>
      <div class="form-group">
        <label class="col-lg-2 control-label">描述：</label>
        <div class="col-lg-10">
          <p class="form-control-static">{{$article_category->description}}</p>
        </div>
      </div>
      <div class="line line-dashed b-b line-lg"></div>
      <div class="form-group">
        <label class="col-lg-2 control-label">排序：</label>
        <div class="col-lg-10">
          <p class="form-control-static">{{$article_category->sort}}</p>
        </div>
      </div>
      <div class="line line-dashed b-b line-lg"></div>
      <div class="form-group">
        <div class="col-lg-4 col-lg-offset-2">
          <a href="{{ admin_action('Web\ArticleCategoriesController@index') }}" class="btn btn-default">返&nbsp;回</a>
        </div>
      </div>
    </form>
  </div>
</div>
@endsection